package stdio.costa.imoca.spi;

import java.io.InputStream;

import stdio.costa.imoca.model.Image;

public interface ImageServiceSpi {
	
	/**
	 * @param in
	 * @param uuid
	 * @param mediaType
	 * @return url of this image
	 */
	void create(Image image);
	
	/**
	 * @param uuid
	 * @param width
	 * @param height
	 * @return inputStream
	 */
	InputStream get(String uuid, Integer width, Integer height);
}
